import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/views/Index'
import faxian from '@/views/faxian'
import dingdan from '@/views/dingdan'
import my from '@/views/my'
import myfooter from '@/components/myfooter'
import xiangqing from '@/views/xiangqing'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
Vue.use(VueAwesomeSwiper)
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    },
    {
      path: '/xiangqing',
      name: 'xiangqing',
      component: xiangqing
    },
    {
      path: '/myfooter',
      name: 'myfooter',
      component: myfooter
    },
    {
      path: '/faxian',
      name: 'faxian',
      component: faxian
    },
    {
      path: '/dingdan',
      name: 'dingdan',
      component: dingdan
    },
    {
      path: '/my',
      name: 'my',
      component: my
    }
  ]
})
